home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Bank smakow / BankSmakow.air / BankSmakow.swf / scripts / mx / skins / halo / StatusBarBackgroundSkin.as < prev    next >
Text File  |  2009-12-16  |  784b  |  30 lines

  1. package mx.skins.halo
  2. {
  3.    import mx.core.mx_internal;
  4.    import mx.skins.ProgrammaticSkin;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class StatusBarBackgroundSkin extends ProgrammaticSkin
  9.    {
  10.       
  11.       mx_internal static const VERSION:String = "3.5.0.12683";
  12.        
  13.       
  14.       public function StatusBarBackgroundSkin()
  15.       {
  16.          super();
  17.       }
  18.       
  19.       override protected function updateDisplayList(param1:Number, param2:Number) : void
  20.       {
  21.          super.updateDisplayList(param1,param2);
  22.          graphics.clear();
  23.          drawRoundRect(0,0,param1,param2,null,getStyle("statusBarBackgroundColor"),1);
  24.          graphics.moveTo(0,0);
  25.          graphics.lineStyle(1,0,0.35);
  26.          graphics.lineTo(param1,0);
  27.       }
  28.    }
  29. }
  30.